home *** CD-ROM | disk | FTP | other *** search
- Path: news.sprintlink.net!datalytics!usenet
- From: Rob Stewart <stew@datalytics.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Is there any limit to the overloading of names and templates. C++ overrated?
- Date: Wed, 20 Mar 1996 11:34:50 -0500
- Organization: Datalytics, Inc
- Message-ID: <315033AA.1CE7@datalytics.com>
- References: <4iiam6$h36@solaris.cc.vt.edu> <4ik74b$14k@reader2.ix.netcom.com>
- NNTP-Posting-Host: 204.62.224.71
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- John Lilley wrote:
- >
- > In article <4iiam6$h36@solaris.cc.vt.edu>, ericpe@vt.edu says...
- >
- > > Is C++ over-rated? Is there a suitable equilvalent that will get
- > >programs done with just a little bit more structure than the anarchist
- > >nature of C++?
- >
- > Depends on your needs. C++ is compatible with "C" and a huge body
- > of tools and libraries. The anarchy is largely of your own choosing;
- > you don't need to tie your brain in knots about overloading if you
- > don't use it (of course, you'll be exposed to libraries that do use it).
- > That being said, C++ is harder than, say, Pascal/Delphi, which is still
- > a practical tool. Visual Basic is a lot easier, but IMHO makes it
- > very difficult to write and maintain robust programs (to wit, I have
- > yet to encounter a VB program that does not crash regularly).
- >
-
- Most of the developers in my company use C++ on a daily basis.
- Some are good at it, some are not. Those that are not, write
- bad code despite what C++ can offer. Those that are, write far
- more readable and reusable code than I have ever encountered
- before.
-
- The point is that any language (except possibly Ada!) grants you
- enough freedom to write lousy, unreadable code. C (and
- therefore C++) probably offer the most rope with which to hang
- yourself (in terms of writing bad code). On the other hand, C++
- is far better than C even if you never touch the object-oriented
- features of the language.
-
- We have occassion to maintain or port C code. Invariably it is
- harder to understand and follow than equivalent object-oriented
- C++ code. The grouping afforded by classes, in which data and
- functions to operate on that data are kept in close proximity
- and scope is a great boon to code development, maintenance, and
- reuse. (That is, unless you fail to encapsulate the data.)
-
- --
- Robert Stewart | My opinions are usually my own.
- Datalytics, Inc. | stew@datalytics.com
-